package com.example.myapplication;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.AppCompatTextView;

import com.example.myapplication.IpBean;
import com.google.gson.Gson;
import com.lzy.okgo.OkGo;
import com.lzy.okgo.callback.StringCallback;
import com.lzy.okgo.model.Response;

public class DetailActivity extends AppCompatActivity {

    private AppCompatTextView dateTextView;
    private AppCompatTextView typeTextView;
    private AppCompatTextView windTextView;
    private AppCompatTextView airTextView;
    private AppCompatTextView tipsTextView;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //实例化控件
        setContentView(R.layout.activity_detail);
        dateTextView = findViewById(R.id.dateTextView);
        typeTextView = findViewById(R.id.typeTextView);
        windTextView = findViewById(R.id.windTextView);
        airTextView = findViewById(R.id.airTextView);
        tipsTextView = findViewById(R.id.tipsTextView);

        //初始化数据

    }

}
